package com.ruoyi.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.mapper.BaseMagnifyingEquipmentInfoMapper;
import com.ruoyi.domain.BaseMagnifyingEquipmentInfo;
import com.ruoyi.service.IBaseMagnifyingEquipmentInfoService;

/**
 * 大功率信号放大设备信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-05-25
 */
@Service
public class BaseMagnifyingEquipmentInfoServiceImpl implements IBaseMagnifyingEquipmentInfoService 
{
    @Autowired
    private BaseMagnifyingEquipmentInfoMapper baseMagnifyingEquipmentInfoMapper;

    /**
     * 查询大功率信号放大设备信息
     * 
     * @param id 大功率信号放大设备信息主键
     * @return 大功率信号放大设备信息
     */
    @Override
    public BaseMagnifyingEquipmentInfo selectBaseMagnifyingEquipmentInfoById(Long id)
    {
        return baseMagnifyingEquipmentInfoMapper.selectBaseMagnifyingEquipmentInfoById(id);
    }

    /**
     * 查询大功率信号放大设备信息列表
     * 
     * @param baseMagnifyingEquipmentInfo 大功率信号放大设备信息
     * @return 大功率信号放大设备信息
     */
    @Override
    public List<BaseMagnifyingEquipmentInfo> selectBaseMagnifyingEquipmentInfoList(BaseMagnifyingEquipmentInfo baseMagnifyingEquipmentInfo)
    {
        return baseMagnifyingEquipmentInfoMapper.selectBaseMagnifyingEquipmentInfoList(baseMagnifyingEquipmentInfo);
    }

    /**
     * 新增大功率信号放大设备信息
     * 
     * @param baseMagnifyingEquipmentInfo 大功率信号放大设备信息
     * @return 结果
     */
    @Override
    public int insertBaseMagnifyingEquipmentInfo(BaseMagnifyingEquipmentInfo baseMagnifyingEquipmentInfo)
    {
        return baseMagnifyingEquipmentInfoMapper.insertBaseMagnifyingEquipmentInfo(baseMagnifyingEquipmentInfo);
    }

    /**
     * 修改大功率信号放大设备信息
     * 
     * @param baseMagnifyingEquipmentInfo 大功率信号放大设备信息
     * @return 结果
     */
    @Override
    public int updateBaseMagnifyingEquipmentInfo(BaseMagnifyingEquipmentInfo baseMagnifyingEquipmentInfo)
    {
        return baseMagnifyingEquipmentInfoMapper.updateBaseMagnifyingEquipmentInfo(baseMagnifyingEquipmentInfo);
    }

    /**
     * 批量删除大功率信号放大设备信息
     * 
     * @param ids 需要删除的大功率信号放大设备信息主键
     * @return 结果
     */
    @Override
    public int deleteBaseMagnifyingEquipmentInfoByIds(Long[] ids)
    {
        return baseMagnifyingEquipmentInfoMapper.deleteBaseMagnifyingEquipmentInfoByIds(ids);
    }

    /**
     * 删除大功率信号放大设备信息信息
     * 
     * @param id 大功率信号放大设备信息主键
     * @return 结果
     */
    @Override
    public int deleteBaseMagnifyingEquipmentInfoById(Long id)
    {
        return baseMagnifyingEquipmentInfoMapper.deleteBaseMagnifyingEquipmentInfoById(id);
    }
}
